home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / VideoToolbox 96.06.15 / (Utilities) / CVNetConvert / oldcvnet.fmt < prev    next >
Text File  |  1992-06-17  |  3KB  |  71 lines

  1. $L$C12$F$C22$I$C43$A
  2.  
  3.  
  4. Filename: oldcvnet.fmt
  5. Example of output:
  6. Abramov    Israel    Brooklyn College     ixrbc@cunyvm.bitnet
  7.  
  8. This file specifies format conversion from CVNet master list to
  9. the OLD CVNet master list format (but without continuation lines).
  10. If this is the format you want, rename this file to "cvnetcnv.fmt".
  11.  
  12. ---------------------------------------------------------------------------
  13. To Prepare Conversion Format Specification File:
  14.  
  15. The first line of the format file specifies the record format. You may use 
  16. the following variable names. All other characters not listed below will 
  17. be written out to the output as is.
  18.  
  19. $L -- last name
  20. $F -- first name & initial
  21. $I -- institutional affiliation
  22. $A -- address (e-mail)
  23. $T -- TAB character
  24. $N -- NEW LINE character (LF for UNIX, CRLF for MSDOS)
  25. $Cnn -- advance to column nn if possible (if not past it already)
  26.  
  27. For example, this format line
  28.     $L$C12$F$C22($I)$C43<$A>,
  29. produces a file suitable for UNIX "mail/sendmail":
  30.     Abramov    Israel    (Brooklyn College)   <ixrbc@cunyvm.bitnet>,
  31.  
  32. On the second line, a line beginning with $M may appear optionally. If present,
  33. it specifies the output file's Macintosh file type and creator (ignored unless 
  34. the program is running on a Mac).  If not present, the file type/creator
  35. will be set to that of MacWrite text file.
  36.  
  37. After the $M line, or on the second line if $M line does not appear,
  38. a line beginning with $P may appear optionally (which may continue for
  39. multiple lines).  If present, it will specify the prolog, text placed
  40. at the beginning of the output file before all address records.
  41. After this, a line beginning with $E may appear optionally (which
  42. may continue for multiple lines).  If present, it will specify the
  43. epilog, text placed at the end of the output file after all
  44. address records.  
  45.  
  46. $M, $P, $E must appear in that order if all three are present.
  47. Not all of them have to be present, e.g., if no prolog is needed
  48. but epilog is required, $M, $E lines should be entered in that order.
  49.  
  50. There may not be any blank or extraneous lines between the first line
  51. and $M.  Similarly, no blank or extraneous lines should be present
  52. between $M, $P, $E specifications.  However, blank lines are allowed
  53. within the quoted text for the prolog and epilog. 
  54.  
  55. $M, $P, $E must appear at column 1 without any leading spaces.
  56.  
  57. $Mttttcccc -- specify the output file's four-character Macintosh type 
  58.     (e.g. TEXT) and creator (e.g. MACA). The rest of the line is ignored.
  59. $P^prolog text^ -- Place the text between quote chars at the beginning of
  60.     the output file.
  61. $E^epilog text^ -- Place the text between quote chars at the end of the
  62.     output file.
  63.  
  64. The prolog and epilog may extend over many lines. The character that 
  65. immediately follows $P and $E is used as the "quote" character to 
  66. mark the range of text for prolog and epilog.  The quote char may be any 
  67. printable character that is not used in the quoted text for the 
  68. prolog and epilog. The rest of the line after the terminating quote is 
  69. ignored. After the optional $M, $P, and $E the rest of the file is ignored.
  70.  
  71.